package com.vftour.stu.sentinel.config;

import com.vftour.stu.sentinel.feign.UserClientFallbackFactory;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * FeignConfig
 *
 * @version 1.0
 * @author: 东东 | d@tke.store
 * @date :  2022/3/6 12:11 上午
 */
@Slf4j
@Configuration
public class FeignConfig {

    @Bean
    public UserClientFallbackFactory userClientFallback() {
        return new UserClientFallbackFactory();
    }
}
